package com.example.pattern.bridge;

/**
 * 抽象绘画类
 *
 * @author FM_南风
 * @date 2024/7/2 13:36
 */
abstract class Drawing {
    protected DrawingAPI drawingAPI;

    protected Drawing(DrawingAPI drawingAPI) {
        this.drawingAPI = drawingAPI;
    }

    public abstract void draw(); // 抽象方法
}
